package com.xuyoupeng.springframework.context;

import com.xuyoupeng.springframework.beans.BeansException;

/**
 * @author xuyoupneg
 * @description TODO
 * @date 2024/3/20 20:18
 */
public interface ConfigurableApplicationContext extends ApplicationContext{

    /**
     * 刷新容器
     * @throws BeansException
     */
    void refresh() throws BeansException;

    void registerShutdownHook();

    void close();
}
